package petstore.persistence.user;

public class User
{
    //用户类，获取用户信息，创建用户对象
    private int user_id;//用户
    private String username;//用户名
    private String password;//密码
    private double key_cat;
    private double key_dog;
    private double key_bird;
    private double key_pokemon;
    private double key_bugCat;

    public User() {
    }

    //有参构建
    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public double getKey_cat() {
        return key_cat;
    }

    public void setKey_cat(double key_cat) {
        this.key_cat = key_cat;
    }

    public double getKey_dog() {
        return key_dog;
    }

    public void setKey_dog(double key_dog) {
        this.key_dog = key_dog;
    }

    public double getKey_bird() {
        return key_bird;
    }

    public void setKey_bird(double key_bird) {
        this.key_bird = key_bird;
    }

    public double getKey_pokemon() {
        return key_pokemon;
    }

    public void setKey_pokemon(double key_pokemon) {
        this.key_pokemon = key_pokemon;
    }

    public double getKey_bugcat() {
        return key_bugCat;
    }

    public void setKey_bugcat(double key_bugcat) {
        this.key_bugCat = key_bugcat;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String toString()
    {
        return "user_id:" + user_id + " username:" + username + " password:" + password;
    }
}
